<?php
	/**
	 * Object representing the Searches table
	 * 
	 * @author Dragan Milchevski
	 * @date 2012-06-21
	 */
	class SavedSearch{
		protected $_id;
		protected $_user;
		protected $_searchName;
		protected $_searchField;
		protected $_searchValue;

		public function __construct($_id, $_user, $_searchName, $_searchField, $_searchValue){
			$this->_id = $_id;
			$this->_user = $_user;
			$this->_searchName = $_searchName;
			$this->_searchField = $_searchField;
			$this->_searchValue = $_searchValue;
		}
		/**
		 * @return the $_id
		 */
		public function getId() {
			return $this->_id;
		}

		/**
		 * @return the $_user
		 */
		public function getUser() {
			return $this->_user;
		}

		/**
		 * @return the $_searchName
		 */
		public function getSearchName() {
			return $this->_searchName;
		}

		/**
		 * @return the $_searchField
		 */
		public function getSearchField() {
			return $this->_searchField;
		}

		/**
		 * @return the $_searchValue
		 */
		public function getSearchValue() {
			return $this->_searchValue;
		}

		/**
		 * @param field_type $_id
		 */
		public function setId($_id) {
			$this->_id = $_id;
		}

		/**
		 * @param field_type $_user
		 */
		public function setUser($_user) {
			$this->_user = $_user;
		}

		/**
		 * @param field_type $_searchName
		 */
		public function setSearchName($_searchName) {
			$this->_searchName = $_searchName;
		}

		/**
		 * @param field_type $_searchField
		 */
		public function setSearchField($_searchField) {
			$this->_searchField = $_searchField;
		}

		/**
		 * @param field_type $_searchValue
		 */
		public function setSearchValue($_searchValue) {
			$this->_searchValue = $_searchValue;
		}
	}
?>